import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  server: {
    proxy: {
      '/api': {
        target: 'wss://avatar.cn-huadong-1.xf-yun.com/v1/interact',
        changeOrigin: true,
      },
      }
    },
  plugins: [vue()],
})
